<%--
  Created by IntelliJ IDEA.
  User: SMM
  Date: 2020/7/1
  Time: 14:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>注册账号</title>
</head>
<body>
<form action="user?type=add" method="post" >
    <div align="center" style="margin-top: 200px" >
        <h1 style="color: hotpink">欢迎注册BBS论坛账号</h1>

        <p style="color:darkgrey">已有帐号？<a href="index.jsp">登录</a></p>

        <p>
            账号：<input type="text" name="userName" placeholder="请输入用户名"/>
        </p>

        <p>
            密码：<input type="password" name="userPassword" placeholder="请输入密码"/>
        </p>
        <p>
            再次确认密码：<input type="password" name="userPassword2" placeholder="请再次输入密码"/>
        </p>
        <p>
            昵称：<input type="text" name="userNickName" placeholder="昵称不能为空"/>
        </p>
        <p>
            邮箱：<input type="text" name="email"/>
        </p>
        <p>
            手机号：<input type="text" name="phone" placeholder="手机号不能为空"/>
        </p>
        <p>
            性别：<input type="radio" name="sex" value="男"/>男
            <input type="radio" name="sex" value="女"/>女
        </p>
        <p>
            出生日期：<input type="date" name="birthday"/>
        </p>

        <p>
            <button style="width: 150px">注册</button>
        </p>

    </div>
</form>
</body>
</html>

